package com.xgzit.xgzmall.product.dao;

import com.xgzit.xgzmall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 14:49:09
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
    * 挑出检索属性
    * @param attrIds:
    * @return java.util.List<java.lang.Long>
    */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
